package com.yc;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author LC
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="JwtResponse对象", description="jwt响应数据")
public class JwtResponse implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "jwtToken")
	private String jwtToken;

	@ApiModelProperty(value = "权限菜单信息")
	private List<Object> list;

	public JwtResponse(String jwtToken,List<Object> list) {
		this.jwtToken = jwtToken;
		this.list = list;
	}
}
